ExamPlay Light Logo
Log Masuk

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 2 - No. 3)

What is the difference between a stack and a queue?
Stacks use LIFO (Last-In, First-Out) and queues use FIFO (First-In, First-Out).
Stacks use FIFO and queues use LIFO.
Stacks and queues are the same.
Stacks use a linear search while queues use a binary search.

Penjelasan

Stacks use LIFO and queues use FIFO.

Komen (0)

Log Masuk Untuk Mengulas
Iklan
BrainBehindX Inc Logo
©2026; Dikuasakan Oleh BrainBehindX Inc